package psy.service;

import psy.pojo.Teacher;

import java.util.List;


public interface TeacherService {

    List<Teacher> selectByCondition(Teacher teacher);

    List<Teacher> selectAll();

    int updateByPrimaryKey(Teacher record);

    int insert(Teacher record);

    int deleteByPrimaryKey(String id);

    Teacher login(String id, String password);
}
